package com.yq.cp.entity.permission.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author zh
 * @since 2022-09-21
 */
@Data
public class PermissionDto implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String name;
    private String title;

    private String img;

    private String path;

    private Long parentId;

    private Integer type;

    /** 是否分配 */
    private Integer allot;
    private Meta meta;
    private List<PermissionDto> children;

}
@Data
class Meta implements Serializable{
    private String title;

    private String icon;
}
